package com.creatorblue.bean;

import java.io.Serializable;

import com.alibaba.fastjson.JSONObject;

/**
 * 用户信息表
 * @author zhuq
 *
 */
public class UserInfo implements Serializable{
	private static final long serialVersionUID = 1L;
	/**
	 * 主键ID
	 */
	private Integer id;
	/**
	 * 登陆账号
	 */
	private String userName;
	/**
	 * 登陆密码
	 */
	private String userPassword;
	/**
	 * 真实姓名
	 */
	private String userRealName;
	/**
	 * 用户头像
	 */
	private String userHeadimg;
	/**
	 * 年龄
	 */
	private Integer userAge;
	
	private String perms;
	
	
	public String getPerms() {
		return perms;
	}
	public void setPerms(String perms) {
		this.perms = perms;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPassword() {
		return userPassword;
	}
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}
	public String getUserRealName() {
		return userRealName;
	}
	public void setUserRealName(String userRealName) {
		this.userRealName = userRealName;
	}
	public String getUserHeadimg() {
		return userHeadimg;
	}
	public void setUserHeadimg(String userHeadimg) {
		this.userHeadimg = userHeadimg;
	}
	public Integer getUserAge() {
		return userAge;
	}
	public void setUserAge(Integer userAge) {
		this.userAge = userAge;
	}
	
	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}
	
}
